package com.trainoo.Pojo;

import java.io.Serializable;
import java.util.List;

import com.trainoo.Interface.MyInterface;

public class Pojo01 implements Serializable {

	private static final long serialVersionUID = 9107081473721626247L;
	
	private int age;
	private long price;
	private String name;
	private List<MyInterface> listInterface;
	
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public long getPrice() {
		return price;
	}
	public void setPrice(long price) {
		this.price = price;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<MyInterface> getListInterface() {
		return listInterface;
	}
	public void setListInterface(List<MyInterface> listInterface) {
		this.listInterface = listInterface;
	}
	
	@Override
	public String toString() {
		return "Pojo01 [age=" + age + ", price=" + price + ", name=" + name + ", listInterface=" + listInterface + "]";
	}
}
